package com.leyou;

import com.leyou.config.JwtProperties;
import com.leyou.config.UserTokenProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author: guojy
 * @date: 2020/2/28 10:34
 * @Description: ${TODO}
 * @version:
 */
@SpringCloudApplication
@EnableZuulProxy
@EnableConfigurationProperties({JwtProperties.class, UserTokenProperties.class})
public class GatewayApp {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApp.class, args);
    }
}
